package com.undead.gulimall.member.feign;

import com.undead.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
//声明式的远程调用
@FeignClient("gulimall-coupon")//调用coupon
public interface CouponFeignService {
    @RequestMapping("/coupon/coupon/member/list")//调用coupon的这个路径的方法
    public R memberCoupons();
}
